package com.zsk.shop.model.results;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 商品内容返回
 *
 * @author ljh
 * @create 2021/11/17 17:49
 */
@Data
@ApiModel("首页返回商品实体")
public class HomeGoodsResult {

    @ApiModelProperty(name = "goodsNo", value = "商品编号-关联sku", dataType = "String")
    private String goodsNo;

    @ApiModelProperty(name = "goodsImgs", value = "商品图片", dataType = "String")
    private String goodsImgs;

    @ApiModelProperty(name = "goodsName", value = "商品名称(20字)", dataType = "String")
    private String goodsName;

    @ApiModelProperty(name = "introduction", value = "简介(50字)", dataType = "String")
    private String introduction;

    @ApiModelProperty(name = "price", value = "单SKU商品原价格", dataType = "BigDecimal")
    private String price;

    @ApiModelProperty(name = "againPrice", value = "复购价", dataType = "BigDecimal")
    private String againPrice;

    @ApiModelProperty(name = "zeroPrice", value = "零元价", dataType = "BigDecimal")
    private String zeroPrice;

    @ApiModelProperty(name = "vipPrice", value = "vip购买价格", dataType = "BigDecimal")
    private String vipPrice;

    @ApiModelProperty(name = "specialPrice", value = "商品特殊价", dataType = "BigDecimal")
    private String specialPrice;

    @ApiModelProperty(name = "allStock", value = "剩余总库存", dataType = "Integer")
    private Integer allStock;

    @ApiModelProperty(name = "saleCount", value = "销售量", dataType = "Integer")
    private Integer saleCount;

    @ApiModelProperty(name = "returnPoints", value = "赠送积分", dataType = "Integer")
    private Integer returnPoints = 0;

    private Integer goodsType;

    @ApiModelProperty("当前是否是购买成为会员商品")
    private Boolean isVipBuyGoods;
    @ApiModelProperty("当前是普通商品")
    private Boolean isGoods;
    @ApiModelProperty("当前是会员商品")
    private Boolean isVipGoods;
    @ApiModelProperty("当前是0元购商品")
    private Boolean isZoneGoods;

    @ApiModelProperty("vip会员礼包商品等级")
    private Integer vipLevel;

    @ApiModelProperty("复购商品等级")
    private Integer againVipLevel;
}
